package cn.gzjp.modules.rice.entity;


import cn.gzjp.common.persistence.DataEntity;

import java.math.BigDecimal;

/**
 * 订单详情Entity
 * @author zengcp
 * @version 2018-11-17
 */
public class RiceOrderDetail extends DataEntity<RiceOrderDetail> {
	
	private static final long serialVersionUID = 1L;
	private String orderId;		// 订单id
	private String openid;		// 买家openid
	private String productId;		// 产品id
	private String styleId;//规格id
	private BigDecimal productPrice;		// 商品原价
	private BigDecimal discountPrice;		// 商品折后价
	private int productNum;		// product_num
	
	public RiceOrderDetail() {
		super();
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public BigDecimal getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}

	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	public String getStyleId() {
		return styleId;
	}

	public void setStyleId(String styleId) {
		this.styleId = styleId;
	}
}